/*
 * Copyright (C) 2004, Velocityme Partnership
 * StateValueActionForm.java
 *
 * Created on 09 October 2004, 02:31
 */

package com.velocityme.www.actionforms.nodeactionforms;

import com.velocityme.entity.State;

/**
 *
 * @author  Robert
 */
public class StateActionForm extends NodeActionForm {
    
    private boolean active = false;
    
    public void extractState(State state) {
        extractNode(state);
        state.setActive(active);
    }

    public boolean isActive() {
        return active;
    }
    
    public void setActive(boolean active) {
        this.active = active;
    }
    
}
